package com.ruoyi.student.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 competition_student
 * 
 * @author ruoyi
 * @date 2023-11-15
 */
public class CompetitionStudent extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 身份证号码 */
    private String certno;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 性别 */
    @Excel(name = "性别")
    private String sex;

    /** 年龄 */
    @Excel(name = "年龄")
    private String age;

    /** 现住址 */
    @Excel(name = "现住址")
    private String address;

    /** 报名赛事id */
    @Excel(name = "报名赛事id")
    private String competitionId;

    /** 报名审核(默认0不通过,1通过) */
    @Excel(name = "报名审核(默认0不通过,1通过)")
    private Integer review;

    /** 审核通过时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "审核通过时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date reviewTime;

    /** 考场 */
    @Excel(name = "考场")
    private String exam;

    /** 考试成绩 */
    @Excel(name = "考试成绩")
    private String scores;

    public void setCertno(String certno) 
    {
        this.certno = certno;
    }

    public String getCertno() 
    {
        return certno;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setSex(String sex) 
    {
        this.sex = sex;
    }

    public String getSex() 
    {
        return sex;
    }
    public void setAge(String age) 
    {
        this.age = age;
    }

    public String getAge() 
    {
        return age;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setCompetitionId(String competitionId) 
    {
        this.competitionId = competitionId;
    }

    public String getCompetitionId() 
    {
        return competitionId;
    }
    public void setReview(Integer review)
    {
        this.review = review;
    }

    public Integer getReview()
    {
        return review;
    }
    public void setReviewTime(Date reviewTime) 
    {
        this.reviewTime = reviewTime;
    }

    public Date getReviewTime() 
    {
        return reviewTime;
    }
    public void setExam(String exam) 
    {
        this.exam = exam;
    }

    public String getExam() 
    {
        return exam;
    }
    public void setScores(String scores) 
    {
        this.scores = scores;
    }

    public String getScores() 
    {
        return scores;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("certno", getCertno())
            .append("name", getName())
            .append("sex", getSex())
            .append("age", getAge())
            .append("address", getAddress())
            .append("competitionId", getCompetitionId())
            .append("createTime", getCreateTime())
            .append("review", getReview())
            .append("reviewTime", getReviewTime())
            .append("exam", getExam())
            .append("scores", getScores())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
